WcGetnet\Services\WcGetnetApi A

Total Complexity 56
Dependencies 7
Dependents 7
Total lines 386
Lines of code 236
Logical lines of code 114
Comment lines 63
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_webhook_args()
A
49 10 32
handle_pix_headers()
S
56 7 18
is_valid_payment()
S
54 6 21
check_api_credentials()
S
62 4 13
send_request_post()
S
55 3 20
send_request_post_v2()
S
54 3 20
process_webhook()
S
67 4 7
get_header()
S
59 3 14
process_another_types()
S
60 3 13
build_admin_message_api_credentials_if_empty()
S
65 2 11
get_order_by_billet_id()
S
55 1 21
create_meta_header_endpoint_order()
S
67 2 7
process_billet_payment_step_2()
S
64 2 9
check_payment_type()
S
79 1 3
__construct()
S
67 1 7
getAntifraudCode()
S
75 1 4
get_selected_environment()
S
80 1 3
get_environment_url()
S
75 1 4
getDefaultResponse()
S
65 1 9